THE NUMEROLOGY GAME

REFRESH TO PUT NEW NO. (ctrl+R)

# use of switch case

it built multiway decision statement

it is test the value and find perfect match.( don't write same value of statement )

SYNTAX: switch(expression)
{ case1:(alert or Document.write)statement;break;
case2:(alert or Document.write)statement;break;
case 3:(alert or Document.write)statement;break;
case n:(alert or Document.write)statement;break;
default:alert("best number but not valid sorry"); break;}